package com.springday3aop.dao.impl;


import com.springday3aop.dao.ResourcesDao;
import org.springframework.stereotype.Repository;

@Repository
public class ResourcesDaoImpl implements ResourcesDao {
    @Override
    public boolean readResources(String url, String password) {
        return password.equals("root"); // 假定密码是root，检查输入的密码是否与其一模一样
    }
}
